import math
class Solution:

    def uniquePaths(self,m,n):
        dp = [[1] * n] + [[1] + [0] * (n - 1) for _ in range(m - 1)]
        print(dp)
a=Solution
print(a.uniquePaths(a,3,2))
b=[[1]*2]+[[2]*5]
print(b)
